import Vue from 'vue'
import Router from 'vue-router'

import Gallery from 'page/gallery/gallery'
import Article from 'page/article/article'
import Movie from 'page/movie/movie'
import Music from 'page/music/music'
import About from 'page/about/about'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/gallery'
    },
    {
      path: '/gallery',
      name: 'gallery',
      component: Gallery
    },
    {
      path: '/article',
      name: 'Article',
      component: Article
    },
    {
      path: '/movie',
      name: 'Movie',
      component: Movie
    },
    {
      path: '/music',
      name: 'Music',
      component: Music
    },
    {
      path: '/about',
      name: 'About',
      component: About
    }
  ]
})
